package 线程.demo15;

import 线程.demo14.Boy;
import 线程.demo14.Girl;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/1 18:13
 */

public class Test {
    public static void main(String[] args) {
        Paint paint = new Paint();
        paint.setName("小红红");
        Black black = new Black();
        black.setName("小花花");
        paint.start();
        black.start();
    }
}
